<template>
    <div class="inexpensive-sec">
        <good-list :dataList="goodList"></good-list>
    </div>
</template>

<script>
    // 引入商品列表组件
    import goodList from "@/components/goodList/goodList";

    export default {
        components: {goodList},
        data() {
            return {
                goodList: []
            }
        },
        mounted() {
            this.$axios.get('/goodList').then(res => {
                console.log('goodList:', res.data.goodList);
                this.goodList = res.data.goodList;
            });
        }
    }
</script>

<style lang="less" scoped>
    // 捡漏专区区域
    .inexpensive-sec {
        padding-bottom: 98px;
    }
</style>
